<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header" />
    <script type="text/javascript" th:src="@{/js/layer/main.js}"></script>
</head>
<body class="login-layout">
<div class="container-fluid" id="main-container">
    <div id="main-content">
        <div class="row-fluid">
            <div class="span12">
                <div class="login-container">
                    <div class="row-fluid">
                        <div class="center">
                            <h1> <img th:src="@{/images/logo2.png}" src="" alt=""/> <span class="blue" th:text="${session.title}">123</span> </h1>
                            <h4 class="green" th:text="${'&copy;' + session.title}"></h4>
                        </div>
                    </div>
                    <div class="space-6"></div>
                    <div class="row-fluid">
                        <div class="position-relative">
                            <div id="forgot-box" class="visible widget-box no-border">
                                <div class="widget-body">
                                    <div class="widget-main">
                                        <h4 class="header red lighter bigger"> <em class="icon-key"></em>找回密码</h4>
                                        <div class="space-6"></div>
                                        <p style="color: #ccc; ">提示:若提交后回到此页面说明回答有误，成功后密码重置为123456并返回到登录页面</p>
                                        <form th:object="${footUser}" method="post" th:action="/forgetpwd2" name="form">
                                            <input type="hidden" name="id" id="id" />
                                            <input type="hidden" name="qes1" />
                                            <input type="hidden" name="qes2" />
                                            <fieldset>
                                                <label> <span class="block input-icon input-icon-right"> <span th:text="${'问题:' + footUser.qes1}" style="color: #ccc; ">123</span> </span> <span class="block input-icon input-icon-right"> <input type="text" name="ans1" id="ans1" class="span12" placeholder="回答" /> <em class="icon-question"></em> </span> <span style="color:red" th:if="${#fields.hasErrors('ans1')}" th:errors="*{ans1}">Answer Error</span> </label>
                                                <label> <span class="block input-icon input-icon-right"> <span th:text="${'问题:' + footUser.qes2}" style="color: #ccc; ">123</span> </span> <span class="block input-icon input-icon-right"> <input type="text" name="ans2" id="ans2" class="span12" placeholder="回答" /> <em class="icon-question"></em> </span> <span style="color:red" th:if="${#fields.hasErrors('ans2')}" th:errors="*{ans2}">Answer Error</span> </label>
                                                <div class="row-fluid">
                                                    <a type="button" th:href="@{/forgetpwd}" class="span5 btn btn-small"> <em class="icon-lightbulb"></em> 上一步 </a>
                                                    <button type="submit" class="span5 btn btn-small btn-success"> <em class="icon-lightbulb"></em> 提交 </button>
                                                </div>
                                            </fieldset>
                                        </form>
                                    </div>
                                    <!--/widget-main-->
                                    <div class="toolbar center">
                                        <a th:href="@{/login}" class="back-to-login-link"> 返回登陆<em class="icon-arrow-right"></em> </a>
                                    </div>
                                </div>
                                <!--/widget-body-->
                            </div>
                            <!--/forgot-box-->
                            <!--/signup-box-->
                        </div>
                        <!--/position-relative-->
                    </div>
                </div>
            </div>
            <!--/span-->
        </div>
        <!--/row-->
    </div>
</div>
<!--/.fluid-container-->
<!--basic scripts-->
</body>
</html>